package cn.bdqn.witcity.mapper;

import cn.bdqn.witcity.entity.Order;
import cn.bdqn.witcity.entity.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    int addOrder(Order order);
    int updateOrder(Order order);
    Order findById(Integer id);
    List<OrderVo> findAll();
    int getAllCount();
    List<OrderVo> findOrderById(Integer id);
    int findCountById(Integer id);
}
